<?php

use yii\db\Migration;

class m170824_082758_alert_card_send extends Migration
{
    public function safeUp()
    {
        $this->addColumn('{{%card_send}}', 'proportion', $this->smallInteger() . ' default 0 comment \'分成比例\'');

    }

    public function safeDown()
    {
        $this->dropColumn('{{%card_send}}', 'proportion');
    }
}
